<%@ Page EnableEventValidation="false" Language="C#" MasterPageFile="app-frame.master" AutoEventWireup="true" CodeFile="messages.aspx.cs" Inherits="app_frame_message" %>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">    
<%--<script language="JavaScript" type="text/javascript" src="wysiwyg.js"></script>--%>
<script language="JavaScript" type="text/javascript" src="scripts/messages.js"></script><%--Added by Jayashree on 12-Sep-2014,for js file--%>
    <table width="100%">
    <tr><td><asp:Label ID="lbl_message" runat="server" CssClass="controlFont"></asp:Label></td></tr>
    <tr>
    <td>
   
    <table width="100%" runat="server" id="tblcontrols">
    <tr>
    <td colspan="2"> <%--<asp:Label ID="lbl_message" runat="server" CssClass='defaultFont' Font-Size="X-Small"
            ForeColor="Black"></asp:Label>--%></td>
            </tr>
            <tr>
    <td colspan="2" class="Dynamic_PageHeaderRow">
        <span style="font-size: 10pt; font-family: Arial">
            <asp:Literal ID="imgliteral" runat="server"></asp:Literal>System
        Messages</span><br />
        <asp:HiddenField ID="hfRequestURL" runat="server" />
        <asp:HiddenField ID="p_message_owner_id" runat="server" />
    </td>
    </tr>
    <tr>
    <td> 
        <span style="font-size: 10pt; font-family: Arial">Message Id</span></td>
    <td style="width: 544px"> <asp:TextBox ID="p_message_msg_id" runat="server" Width="250px"></asp:TextBox> </td>
    </tr>
    <tr>
    <td> 
        <span style="font-size: 10pt; font-family: Arial">Title&nbsp;</span></td>
    <td style="width: 544px"> 
        <asp:TextBox ID="p_message_msg_title" runat="server" OnTextChanged="p_help_help_title_TextChanged" Width="250px"></asp:TextBox></td>
    </tr>
        <tr>
            <td>
                <asp:Label ID="lblLanguage" runat="server" Font-Names="Arial" Font-Size="X-Small"
                    Text="Language" Visible="False"></asp:Label></td>
            <td style="width: 544px">
        <asp:TextBox ID="p_message_msg_language" runat="server" Visible="False"></asp:TextBox></td>
        </tr>
    <tr>
    <td valign="top"> 
        <span></span><span style="font-size: 10pt; font-family: Arial">Description</span>&nbsp;</td>
    <td style="width: 544px"> 
        <%--<form action="" id="myForm" method="get">--%>
        <textarea id="fred" cols ="20" rows ="2">        
        </textarea>            
        <script language="JavaScript" type="text/javascript">
            generate_wysiwyg("fred");            
        </script>
        <asp:TextBox ID="p_message_msg_desc" runat="server" TextMode="MultiLine" Enabled="true" Height="1px" Width="0px" TabIndex="100"></asp:TextBox>
        <%--</form> --%> 
        </td>
    </tr>       
        <tr>
            <td valign="top">
                <asp:Label ID="Label1" runat="server" Text="Owner"></asp:Label></td>
            <td id="tdownerid" runat="server" style="width: 544px">
                <asp:TextBox ID="txt_p_message_owner_id" runat="server"></asp:TextBox></td>
        </tr>
    <tr>
    <td style="height: 26px"> 
        <span style="font-size: 10pt; font-family: Arial">
            <asp:HiddenField ID="p_message_af_row_id" runat="server" />
        </span></td>
    <td style="height: 26px; width: 544px;"> <input type="submit" onclick="javascript:copyValue();javascript:disableThis('ctl00_ContentPlaceHolder3_btnSave','Saving...');" value="Save" id="btnSave" runat="server" onserverclick="btnSave_ServerClick" /><input type="submit" onclick="javascript:copyValue();javascript:disableThis('ctl00_ContentPlaceHolder3_btnUpdate','Saving...');" value="Update" id="btnUpdate" runat="server" onserverclick="btnUpdate_ServerClick" /><input type ="button" value="Reset" id="btnReset" runat="server" onserverclick="btnreset_ServerClick"/>
                <asp:DropDownList ID="dd_p_message_owner_id" runat="server" Visible="False">
                </asp:DropDownList></td>
    </tr>    
    </table>     
    
    </td></tr>
    <tr>
    <td align="center">
        &nbsp;&nbsp;
    </td>
    </tr>
    </table>
   <script language="JavaScript" type="text/javascript" src="scripts/messages_bottom.js"></script><%--Added by Jayashree on 12-Sep-2014,for js file--%>
  
</asp:Content>
  
